Load

This parameter is a character string that specifies the name of a workspace, or a text file containing APL source code, to be loaded when Dyalog starts. It will normally be specified on the command line or in a Configuration file.

Dyalog determines whether or not the file is a workspace by its internal signature. If it is a workspace, the expression specified by its Latent Expression ⎕LX will be executed by default. This expression may be overridden by the LX parameter.

Otherwise, if the file extension is .aplf .aplc or .apln Dyalog will attempt to fix the contents of the file as APL source code. If successful, it will by default run the expression shown in the table below, where filename is the file name specified by the Load parameter without its extension. This expression may be overridden by the LX parameter.

File Extension Type Expression
.aplf Function source code filename 0⍴⊂''
.aplc Class source code filename.Run 0⍴⊂''
.apln Namespace source code filename.Run 0⍴⊂''

Notes: